home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi 2.0 - Programmer's Utilities Power Pack
/
Delphi 2.0 Programmer's Utilities Power Pack.iso
/
e_to_l
/
fccopy
/
manual.doc
< prev
next >
Wrap
Text File
|
1996-09-15
|
4KB
|
91 lines
USING THE (F)ILE (C)OPY (C)OMPONENT FOR DELPHI
The FCC (sorry uncle Charlie!) is a Delphi component which can copy
and move files wherever you want them that can be included in your
programs. Provisions are made for preserving the files attributes
and date/time as well as for network environments.
Errors are handled properly, and reported to your application either
by means of a variable you can access or through a Windows message.
To make The FCC work right, you should set MyFrigginHandle (that is
the constants name! Sorry!) to your Window's Handle property someplace
in your program before The FCC gets called. Then, just set the Source
and Target properties and away you go!
PROPERTIES:
MoveFiles : Boolean; Default: FALSE.
------------------------------------
MoveFiles when set to true will cause the source file to be deleted
after a successful copy operation. This gives you the same basic
capability as the DOS Move command without having to do something
really bogus like WinExec a bloody batch file.
OverWrite : Boolean; Default: TRUE.
-----------------------------------
OverWrite does just that. It causes any existing target file to get
overwritten with data from the source file. Use with caution while
you are testing!!! It *will* overwrite files with *any* attributes.
Be careful!!!
SaveAttribs : Boolean; Default TRUE.
------------------------------------
This one causes The FCC to copy the attributes and date/time from the
source file to the target file. Everything.
Source : String; Default: ''.
----------------------------
This is your original file. What you want to copy to wherever. Please
use the *entire* path and filename. Wildcards are only supported in the
registered version of this program.
Target : String; Default: '';
-----------------------------
Target should be a complete filename including drive, path and filename
information. If this file exists and OverWrite is set to true then it
will be overwritten with whatever is in Source.
NetFileAccess : Boolean; Default: FALSE;
----------------------------------------
This opens your files in a way that is network and share compatible.
Safe to use in almost every situation. Can add a tiny bit of delay
to file related operations on some networked systems.
Everything : Boolean; Default FALSE; (only available with registered copy)
------------------------------------
This option in the registered version causes all files matching a
wildcard or pattern to be copied or moved.
HourGlass : Boolean; Default TRUE;
----------------------------------
Shows a little hourglass during file operations while FCC is running.
CRCCheck : Boolean; Default FALSE;
----------------------------------
The best feature for some purposes! This will cause FCC to run a 32-bit
CRC for every copied file and compare the target and source files for
complete accuracy even on really funky computers laced with virii and the
effects of many years of system abuse and neglect! <yuck!>
CheckDiskSpace : Boolean; Default: TRUE;
----------------------------------------
This causes The FCC to generate a fc_ErrorDecected message with a wParam
value of 2 if the target disk does not have enough free space to receive
the source file during any copy or move operation.
I know that this .DOC file really is lame. But what you need to know is in
here and the next release will be forthcoming soon. The doc's suck - but
the code is *nice!*
Take Care. And see ORDER.NOW for registration information.
-djk